/* general typography */
.bigemap-container {
  background:#fff;
  font:12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  color:#404040;
  color:rgba(0,0,0,0.75);
  outline:0;
  overflow:hidden;
  -ms-touch-action:none;
  }

.bigemap-container *,
.bigemap-container *:after,
.bigemap-container *:before {
  -webkit-box-sizing:border-box;
     -moz-box-sizing:border-box;
          box-sizing:border-box;
  }

.bigemap-container h1,
.bigemap-container h2,
.bigemap-container h3,
.bigemap-container h4,
.bigemap-container h5,
.bigemap-container h6,
.bigemap-container p {
  font-size:15px;
  line-height:20px;
  margin:0 0 10px;
  }

.bigemap-container .marker-description img {
  margin-bottom:10px;
  }

.bigemap-container a {
  color:#3887BE;
  font-weight:normal;
  text-decoration:none;
  }
  .bigemap-container a:hover      { color:#63b6e5; }
  .bigemap-container.dark a       { color:#63b6e5; }
  .bigemap-container.dark a:hover { color:#8fcaec; }

.bigemap-container.dark .bigemap-button,
.bigemap-container .bigemap-button {
  background-color:#3887be;
  display:inline-block;
  height:40px;
  line-height:40px;
  text-decoration:none;
  color:#fff;
  font-size:12px;
  white-space:nowrap;
  text-overflow:ellipsis;
  }
  .bigemap-container.dark .bigemap-button:hover,
  .bigemap-container .bigemap-button:hover {
    color:#fff;
    background-color:#3bb2d0;
    }

/* Required styles */
.bigemap-pane,
.bigemap-tile,
.bigemap-marker-icon,
.bigemap-marker-shadow,
.bigemap-tile-container,
.bigemap-map-pane svg,
.bigemap-map-pane canvas,
.bigemap-zoom-box,
.bigemap-image-layer,
.bigemap-layer {
	position:absolute;
	left:0;
	top:0;
	}
.bigemap-container {
	overflow: hidden;
	}
.bigemap-tile,
.bigemap-marker-icon,
.bigemap-marker-shadow {
	-webkit-user-select:none;
	   -moz-user-select:none;
	        user-select:none;
	  -webkit-user-drag:none;
	}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.bigemap-safari .bigemap-tile {
	image-rendering:-webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.bigemap-safari .bigemap-tile-container {
	width:1600px;
	height:1600px;
	-webkit-transform-origin:0 0;
	}
.bigemap-marker-icon,
.bigemap-marker-shadow {
	display: block;
	}
/* .bigemap-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .bigemap-container img: map is broken in FF if you have max-width: 100% on tiles */
.bigemap-container .bigemap-overlay-pane svg,
.bigemap-container .bigemap-marker-pane img,
.bigemap-container .bigemap-tile-pane img,
.bigemap-container img.bigemap-image-layer {
	max-width: none !important;
	}

.bigemap-container.bigemap-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.bigemap-container.bigemap-touch-drag {
	-ms-touch-action: pinch-zoom;
	}
.bigemap-container.bigemap-touch-drag.bigemap-touch-drag {
	-ms-touch-action: none;
	touch-action: none;
}
.bigemap-tile {
	filter: inherit;
	visibility: hidden;
	}
.bigemap-tile-loaded {
	visibility: inherit;
	}
.bigemap-zoom-box {
	width: 0;
	height: 0;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.bigemap-overlay-pane svg {
	-moz-user-select: none;
	}

.bigemap-map-pane canvas { z-index: 1; }
.bigemap-map-pane svg    { z-index: 2; }

.bigemap-tile-pane    { z-index:2; }
.bigemap-overlay-pane { z-index:4; }
.bigemap-shadow-pane  { z-index:5; }
.bigemap-marker-pane  { z-index:6; }
.bigemap-tooltip-pane { z-index:7; }
.bigemap-popup-pane   { z-index:8; }

.bigemap-vml-shape {
	width:1px;
	height:1px;
	}
.lvml {
	behavior:url(#default#VML);
	display:inline-block;
	position:absolute;
	}

/* control positioning */
.bigemap-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.bigemap-top,
.bigemap-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.bigemap-top {
	top: 0;
	}
.bigemap-right {
	right: 0;
	}
.bigemap-bottom {
	bottom: 0;
	}
.bigemap-left {
	left: 0;
	}
.bigemap-control {
	float: left;
	clear: both;
	}
.bigemap-right .bigemap-control {
	float: right;
	}
.bigemap-top .bigemap-control {
	margin-top: 10px;
	}
.bigemap-bottom .bigemap-control {
	margin-bottom: 10px;
	}
.bigemap-left .bigemap-control {
	margin-left: 10px;
	}
.bigemap-right .bigemap-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.bigemap-fade-anim .bigemap-tile {
	will-change: opacity;
	}
.bigemap-fade-anim .bigemap-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	     -o-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.bigemap-fade-anim .bigemap-map-pane .bigemap-popup {
	opacity: 1;
	}
.bigemap-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
.bigemap-zoom-anim .bigemap-zoom-animated {
	will-change: transform;
	}
.bigemap-zoom-anim .bigemap-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	     -o-transition:      -o-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.bigemap-zoom-anim .bigemap-tile,
.bigemap-pan-anim .bigemap-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	     -o-transition: none;
	        transition: none;
	}

.bigemap-zoom-anim .bigemap-zoom-hide {
	visibility: hidden;
	}

.bigemap-hidden {
  display: none;
}

/* cursors */

.bigemap-interactive {
	cursor: pointer;
	}
.bigemap-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	}
.bigemap-crosshair,
.bigemap-crosshair .bigemap-interactive {
	cursor: crosshair;
	}
.bigemap-popup-pane,
.bigemap-control {
	cursor: auto;
	}
.bigemap-dragging .bigemap-grab,
.bigemap-dragging .bigemap-grab .bigemap-interactive,
.bigemap-dragging .bigemap-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	}

/* marker & overlays interactivity */
.bigemap-marker-icon,
.bigemap-marker-shadow,
.bigemap-image-layer,
.bigemap-pane > svg path,
.bigemap-tile-container {
	pointer-events: none;
	}

.bigemap-marker-icon.bigemap-interactive,
.bigemap-image-layer.bigemap-interactive,
.bigemap-pane > svg path.bigemap-interactive {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */
.bigemap-container {
	outline:0;
	}
.bigemap-zoom-box {
  background:#fff;
  border:2px dotted #202020;
  opacity:0.5;
  }

/* general toolbar styles */
.bigemap-control-layers,
.bigemap-bar {
  background-color:#fff;
  border:1px solid #999;
  border-color:rgba(0,0,0,0.4);
  border-radius:3px;
  box-shadow:none;
  }
.bigemap-bar a,
.bigemap-bar a:hover {
  color:#404040;
  color:rgba(0,0,0,0.75);
  border-bottom:1px solid #ddd;
  border-bottom-color:rgba(0,0,0,0.10);
  }
  .bigemap-bar a:last-child {
    border-bottom:none;
    }
  .bigemap-bar a:hover,
  .bigemap-bar a:active {
    background-color:#f8f8f8;
    cursor:pointer;
    }
  .bigemap-bar a:hover:first-child {
    border-radius:3px 3px 0 0;
    }
  .bigemap-bar a:hover:last-child {
    border-radius:0 0 3px 3px;
    }
  .bigemap-bar a:hover:only-of-type {
    border-radius:3px;
    }

.bigemap-bar .bigemap-disabled {
  cursor:default;
  opacity:0.75;
  }

/* zoom control */
.bigemap-control-zoom-in,
.bigemap-control-zoom-out {
  display:block;
  content:'';
  text-indent:-999em;
	}

/* layers control */
.bigemap-control-layers .bigemap-control-layers-list,
.bigemap-control-layers-expanded .bigemap-control-layers-toggle {
  display:none;
  }
  .bigemap-control-layers-expanded .bigemap-control-layers-list {
    display:block;
    position:relative;
    }

.bigemap-control-layers-expanded {
  background:#fff;
  padding:6px 10px 6px 6px;
  color:#404040;
  color:rgba(0,0,0,0.75);
  }
.bigemap-control-layers-selector {
  margin-top:2px;
  position:relative;
  top:1px;
  }
.bigemap-control-layers label {
  display: block;
  }
.bigemap-control-layers-separator {
  height:0;
  border-top:1px solid #ddd;
  border-top-color:rgba(0,0,0,0.10);
  margin:5px -10px 5px -6px;
  }

/* Default icon URLs */
.bigemap-default-icon-path {
  background-image: url(./images/marker-icon.png);
}

/* Attribution and scale controls */
.bigemap-container .bigemap-control-attribution {
  background-color:rgba(255,255,255,0.5);
  margin:0;
  box-shadow:none;
  }
  .bigemap-container .bigemap-control-attribution a,
  .bigemap-container .map-info-container a {
    color:#404040;
    }
    .bigemap-control-attribution a:hover,
    .map-info-container a:hover {
      color:inherit;
      text-decoration:underline;
      }

.bigemap-control-attribution,
.bigemap-control-scale-line {
  padding:0 5px;
  }
  .bigemap-left .bigemap-control-scale    { margin-left:5px; }
  .bigemap-bottom .bigemap-control-scale  { margin-bottom:5px; }

/* Scale control */
.bigemap-control-scale-line {
  background-color:rgba(255,255,255,0.5);
  border:1px solid #999;
  border-color:rgba(0,0,0,0.4);
  border-top:none;
  padding:2px 5px 1px;
  white-space:nowrap;
  overflow:hidden;
  }
  .bigemap-control-scale-line:last-child {
    border-top:2px solid #ddd;
    border-top-color:rgba(0,0,0,0.10);
    border-bottom:none;
    margin-top:-2px;
    }

/* Used for smaller map containers & triggered by container size */
.bigemap-container .bigemap-control-attribution.bigemap-compact-attribution { margin:10px; }
.bigemap-container .bigemap-control-attribution.bigemap-compact-attribution {
  background:#fff;
  border-radius:3px 13px 13px 3px;
  padding:3px 31px 3px 3px;
  visibility:hidden;
  }
  .bigemap-control-attribution.bigemap-compact-attribution:hover {
    visibility:visible;
    }

.bigemap-control-attribution.bigemap-compact-attribution:after {
  content:'';
  background-color:#fff;
  background-color:rgba(255,255,255,0.5);
  background-position:0 -78px;
  border-radius:50%;
  position:absolute;
  display:inline-block;
  width:26px;
  height:26px;
  vertical-align:middle;
  bottom:0;
  z-index:1;
  visibility:visible;
  cursor:pointer;
  }
  .bigemap-control-attribution.bigemap-compact-attribution:hover:after { background-color:#fff; }

.bigemap-right .bigemap-control-attribution.bigemap-compact-attribution:after { right:0; }
.bigemap-left .bigemap-control-attribution.bigemap-compact-attribution:after { left:0; }

.bigemap-touch .bigemap-control-layers,
.bigemap-touch .bigemap-bar {
	border:2px solid rgba(0,0,0,0.2);
	background-clip:padding-box;
	}

/* popup */
.bigemap-popup {
  position:absolute;
  text-align:center;
  pointer-events:none;
  }
.bigemap-popup-content-wrapper {
  padding:1px;
  text-align:left;
  pointer-events:all;
  }
.bigemap-popup-content {
  padding:10px 10px 15px;
  margin:0;
  line-height:inherit;
  }
  .bigemap-popup-close-button + .bigemap-popup-content-wrapper .bigemap-popup-content {
    padding-top:15px;
    }

.bigemap-popup-tip-container {
  width:20px;
  height:20px;
  margin:0 auto;
  position:relative;
  }
.bigemap-popup-tip {
  width:0;
	height:0;
  margin:0;
	border-left:10px solid transparent;
	border-right:10px solid transparent;
	border-top:10px solid #fff;
  box-shadow:none;
  }
.bigemap-popup-close-button {
  text-indent:-999em;
  position:absolute;
  top:0;right:0;
  pointer-events:all;
  }
  .bigemap-popup-close-button:hover {
    background-color:#f8f8f8;
    }

.bigemap-popup-scrolled {
  overflow:auto;
  border-bottom:1px solid #ddd;
  border-top:1px solid #ddd;
  }

/* div icon */
.bigemap-div-icon {
  background:#fff;
  border:1px solid #999;
  border-color:rgba(0,0,0,0.4);
  }
.bigemap-editing-icon {
  border-radius:3px;
  }

/* Tooltip */
/* Base styles for the element that has a tooltip */
.bigemap-tooltip {
	position:absolute;
	padding:5px;
	background-color:#fff;
	border:1px solid #fff;
	border-radius:3px;
	white-space: nowrap;
	-webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
	pointer-events: none;
	}
.bigemap-tooltip.bigemap-clickable {
	cursor:pointer;
	pointer-events:auto;
	}
.bigemap-tooltip-top:before,
.bigemap-tooltip-bottom:before,
.bigemap-tooltip-left:before,
.bigemap-tooltip-right:before {
	content:'';
	position:absolute;
	pointer-events:none;
	border:5px solid transparent;
	background:transparent;
	}

/* Directions */
.bigemap-tooltip-bottom {
	margin-top:5px;
  }
.bigemap-tooltip-top {
	margin-top:-5px;
  }
.bigemap-tooltip-bottom:before,
.bigemap-tooltip-top:before {
	left:50%;
	margin-left:-5px;
	}
.bigemap-tooltip-top:before {
	bottom:0;
	margin-bottom:-10px;
	border-top-color:#fff;
	}
.bigemap-tooltip-bottom:before {
	top:0;
	margin-top:-15px;
	margin-left:-5px;
	border-bottom-color:#fff;
	}
.bigemap-tooltip-left {
	margin-left:-5px;
  }
.bigemap-tooltip-right {
	margin-left:5px;
  }
.bigemap-tooltip-left:before,
.bigemap-tooltip-right:before {
	top:50%;
	margin-top:-5px;
	}
.bigemap-tooltip-left:before {
	right:0;
	margin-right:-10px;
	border-left-color:#fff;
	}
.bigemap-tooltip-right:before {
	left:0;
	margin-left:-10px;
	border-right-color:#fff;
	}

/* bigemap
------------------------------------------------------- */
.bigemap-bar a,
.bigemap-icon,
.map-tooltip.closable .close,
.bigemap-control-layers-toggle,
.bigemap-popup-close-button,
.bigemap-button-icon:before {
  content:'';
  display:inline-block;
  width:26px;
  height:26px;
  vertical-align:middle;
  background-repeat:no-repeat;
  }
.bigemap-bar a {
  display:block;
  }

.bigemap-control-attribution:after,
.bigemap-control-zoom-in,
.bigemap-control-zoom-out,
.bigemap-popup-close-button,
.bigemap-control-layers-toggle,
.bigemap-container.dark .map-tooltip .close,
.map-tooltip .close,
.bigemap-icon {
  opacity: .75;
  background-image:url(./images/icons-000000@2x.png);
  background-image:linear-gradient(transparent, transparent), url(./images/icons.svg);
  background-repeat:no-repeat;
  background-size:26px 260px;
  }
  .bigemap-container.dark .bigemap-control-attribution:after,
  .bigemap-button-icon:before,
  .bigemap-container.dark .bigemap-control-zoom-in,
  .bigemap-container.dark .bigemap-control-zoom-out,
  .bigemap-container.dark .bigemap-control-layers-toggle,
  .bigemap-container.dark .bigemap-icon {
    opacity: 1;
    background-image:url(./images/icons-ffffff@2x.png);
    background-image:linear-gradient(transparent, transparent), url(./images/icons-ffffff.svg);
    background-size:26px 260px;
    }
  .bigemap-bar .bigemap-control-zoom-in                 { background-position:0 0; }
  .bigemap-bar .bigemap-control-zoom-out                { background-position:0 -26px; }
  .map-tooltip.closable .close,
  .bigemap-popup-close-button {
    background-position:-3px -55px;
    width:20px;
    height:20px;
    border-radius:0 3px 0 0;
    }
  .bigemap-icon-info                                     { background-position:0 -78px; }
  .bigemap-control-layers-toggle                        { background-position:0 -104px; }
  .bigemap-icon.bigemap-icon-share:before, .bigemap-icon.bigemap-icon-share         { background-position:0 -130px; }
  .bigemap-icon-facebook:before, .bigemap-icon-facebook   { background-position:0 -182px; }
  .bigemap-icon-twitter:before, .bigemap-icon-twitter     { background-position:0 -208px; }
  .bigemap-icon-pinterest:before, .bigemap-icon-pinterest { background-position:0 -234px; }

.bigemap-popup-content-wrapper,
.map-legends,
.map-tooltip {
  background:#fff;
  border-radius:3px;
  box-shadow:0 1px 2px rgba(0,0,0,0.10);
  }
.map-legends,
.map-tooltip {
  max-width:300px;
  }
.map-legends .map-legend {
  padding:10px;
  }
.map-tooltip {
  z-index:999999;
  padding:10px;
  min-width:180px;
  max-height:400px;
  overflow:auto;
  opacity:1;
  -webkit-transition:opacity 150ms;
     -moz-transition:opacity 150ms;
       -o-transition:opacity 150ms;
          transition:opacity 150ms;
  }

.map-tooltip .close {
  text-indent:-999em;
  overflow:hidden;
  display:none;
  }
  .map-tooltip.closable .close {
    position:absolute;
    top:0;right:0;
    border-radius:3px;
    }
    .map-tooltip.closable .close:active  {
      background-color:#f8f8f8;
      }

.bigemap-control-interaction {
  position:absolute;
  top:10px;
  right:10px;
  width:300px;
  }
.bigemap-popup-content .marker-title {
  font-weight:bold;
  }
.bigemap-control .bigemap-button {
  background-color:#fff;
  border:1px solid #ddd;
  border-color:rgba(0,0,0,0.10);
  padding:5px 10px;
  border-radius:3px;
  }

/* bigemap Logo
------------------------------------------------------- */
.bigemap-logo.bigemap-logo-true {
  margin: 0 0 5px 5px;
}
.bigemap-logo-true:before {
  content:'';
  display:inline-block;
  width:100px;
  height:20px;
  vertical-align:middle;
}
.bigemap-logo.bigemap-logo-true {
  background-repeat:no-repeat;
  background-size:100px 20px;
  background-image: url();
}

/* Dark Theme
------------------------------------------------------- */
.bigemap-container.dark .bigemap-bar {
  background-color:#404040;
  border-color:#202020;
  border-color:rgba(0,0,0,0.75);
  }
  .bigemap-container.dark .bigemap-bar a {
    color:#404040;
    border-color:rgba(0,0,0,0.5);
    }
  .bigemap-container.dark .bigemap-bar a:active,
  .bigemap-container.dark .bigemap-bar a:hover {
    background-color:#505050;
    }

.bigemap-container.dark .bigemap-control-attribution:after,
.bigemap-container.dark .bigemap-info-toggle,
.bigemap-container.dark .map-info-container,
.bigemap-container.dark .bigemap-control-attribution {
  background-color:rgba(0,0,0,0.5);
  color:#f8f8f8;
  }
  .bigemap-container.dark .bigemap-control-attribution a,
  .bigemap-container.dark .bigemap-control-attribution a:hover,
  .bigemap-container.dark .map-info-container a,
  .bigemap-container.dark .map-info-container a:hover {
    color:#fff;
    }

.bigemap-container.dark .bigemap-control-attribution:hover:after {
  background-color:#000;
  }
.bigemap-container.dark .bigemap-control-layers-list span {
  color:#f8f8f8;
  }
.bigemap-container.dark .bigemap-control-layers-separator {
  border-top-color:rgba(255,255,255,0.10);
  }
.bigemap-container.dark .bigemap-bar a.bigemap-disabled,
.bigemap-container.dark .bigemap-control .bigemap-button.disabled {
  background-color:#252525;
  color:#404040;
  }

/* Larger Screens
------------------------------------------------------- */
@media only screen and (max-width:800px) {
.bigemap-modal-body {
  width:83.3333%;
  margin-left:8.3333%;
  }
}

/* Smaller Screens
------------------------------------------------------- */
@media only screen and (max-width:640px) {
.bigemap-modal-body {
  width:100%;
  height:100%;
  margin:0;
  }
}

/* Browser Fixes
------------------------------------------------------- */
/* VML support for IE8 */
.bigemap-vml-shape { width:1px; height:1px; }
.lvml { behavior:url(#default#VML); display:inline-block; position:absolute; }
/* Map is broken in FF if you have max-width: 100% on tiles */
.bigemap-container img.bigemap-tile { max-width:none !important; }
/* Markers are broken in FF/IE if you have max-width: 100% on marker images */
.bigemap-container img.bigemap-marker-icon { max-width:none; }
/* Stupid Android 2 doesn't understand "max-width: none" properly */
.bigemap-container img.bigemap-image-layer { max-width:15000px !important; }
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.bigemap-overlay-pane svg { -moz-user-select:none; }
/* Older IEs don't support the translateY property for display animation */
.bigemap-oldie .bigemap-modal .bigemap-modal-content        { display:none; }
.bigemap-oldie .bigemap-modal.active .bigemap-modal-content { display:block; }
.map-tooltip { width:280px\8; /* < IE9 */ }

/* < IE8 */
.bigemap-oldie .bigemap-control-zoom-in,
.bigemap-oldie .bigemap-control-zoom-out,
.bigemap-oldie .bigemap-popup-close-button,
.bigemap-oldie .bigemap-control-layers-toggle,
.bigemap-oldie .bigemap-container.dark .map-tooltip .close,
.bigemap-oldie .map-tooltip .close,
.bigemap-oldie .bigemap-icon {
  background-image:url('');
}
.bigemap-oldie .bigemap-button-icon:before,
.bigemap-oldie .bigemap-container.dark .bigemap-control-zoom-in,
.bigemap-oldie .bigemap-container.dark .bigemap-control-zoom-out,
.bigemap-oldie .bigemap-container.dark .bigemap-control-layers-toggle,
.bigemap-oldie .bigemap-container.dark .bigemap-icon {
  background-image:url('');
}

.bigemap-oldie .bigemap-logo-true {
  background-image:none;
  }
